{% extends "base.html" %}

{% load i18n page_metadata_tags static %}

{% block metadata %}
    {% translate "Search" as trans_title %}
    {% page_metadata page_title=trans_title %}
{% endblock metadata %}

{% block body_class %}search{% endblock %}

{% block body %}
    <h1>Rebuild Search Results Cache</h1>

    {% if results %}
        {{ results|length }} Items In Search
    {% endif %}

    <form method="post" action="">
        {% csrf_token %}
        <input type="submit" value="Build Search">
    </form>
{% endblock body %}
